home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Essential Home & Business Collection
/
The Essential Home & Business Collection.iso
/
23
/
8
/
4
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-11-09
|
3KB
|
93 lines
Echo off
Cls
Echo One moment, please...
If %1. == . Goto NoDrive
If %2. == . Goto NoDrive
If %1 == c Goto FromHard
If %1 == C Goto FromHard
If %1 == d Goto FromHard
If %1 == D Goto FromHard
If %2 == a Goto ToFloppy
If %2 == A Goto ToFloppy
If %2 == b Goto ToFloppy
If %2 == B Goto ToFloppy
%2:
MKDIR \TUTORDOS
%1:
COPY *.EXE %2:\TUTORDOS\*.*
COPY *.TBC %2:\TUTORDOS\*.*
COPY HARDSTRT.BAT %2:\TUTORDOS.BAT
Cls
Echo Please insert TUTORDOS disk number 2 in drive %1: and
PAUSE
COPY *.TBC %2:\TUTORDOS\*.*
Cls
Echo Please insert TUTORDOS disk number 3 in drive %1: and
PAUSE
COPY *.TBC %2:\TUTORDOS\*.*
Cls
Echo Please insert TUTORDOS disk number 4 in drive %1: and
PAUSE
COPY *.TBC %2:\TUTORDOS\*.*
Cls
Echo TUTORDOS is now installed on your %2: disk drive.
Echo.
Echo To start TUTORDOS, all you have to do is switch to the %2: disk drive
Echo by typing %2: and pressing [ENTER], then type TUTORDOS and press [ENTER].
Echo.
Goto End
:NoDrive
Echo In order to install TUTORDOS on your hard disk drive, you must type
Echo INSTALL followed by the name of the floppy disk drive which contains the
Echo TUTORDOS disk and the name of the hard disk drive you want to install it
Echo to.
Echo.
Echo For example, if TUTORDOS were in disk drive A and you wanted to install
Echo it on disk drive C, you would type:
Echo.
Echo INSTALL A C
Echo.
Echo Please try again.
Goto End
:FromHard
Echo In order to install TUTORDOS on your hard disk drive, you must type
Echo INSTALL followed by the name of the floppy disk drive which contains the
Echo TUTORDOS disk and the name of the hard disk drive you want to install it
Echo to.
Echo.
Echo For example, if TUTORDOS were in disk drive A and you wanted to install
Echo it on disk drive C, you would type:
Echo.
Echo INSTALL A C
Echo.
Echo You told me that TUTORDOS was already on your hard disk drive.
Echo Please try again.
Goto End
:ToFloppy
Echo In order to install TUTORDOS on your hard disk drive, you must type
Echo INSTALL followed by the name of the floppy disk drive which contains the
Echo TUTORDOS disk and the name of the hard disk drive you want to install it
Echo to.
Echo.
Echo For example, if TUTORDOS were in disk drive A and you wanted to install
Echo it on disk drive C, you would type:
Echo.
Echo INSTALL A C
Echo.
Echo You told me that you want to install TUTORDOS on a floppy disk drive.
Echo.
Echo If you don't have a hard disk drive, all you have to do to use TUTORDOS
Echo is put the TUTORDOS disk number 1 in a disk drive and then type TUTORDOS.
Echo Please try again.
Goto End
:End
Echo.
Pause
Cls